﻿using System;
using Gfw.Infrastructure.ExceptionImpl;
using Gfw.Infrastructure.Facilities;
using Gfw.Infrastructure.Stock.Enums;
using Gfw.Infrastructure.Stock.Facilities;
using Gfw.Models.Stock;
using Gfw.Repositories.Stock;
using Gfw.Repository;

namespace Gfw.BLL.Basic.Stock.Facilities
{
   public class AdminBuyTradeFacilityImpl: AdminBuyTradeFacility
    {
       public AdminBuyTradeFacilityImpl(decimal count, decimal price):base(count,price)
        {
            
        }
      
        public override void Execute(Repository.UnitOfWork unitOfWork = null)
        {
            base.Execute(unitOfWork);
            StockManager.NotifyTrade();
        }
    }
}
